package demo;

import demo.VO.User;
import org.springframework.context.annotation.Bean;
import org.springframework.core.annotation.Order;
import org.springframework.stereotype.Component;

@Component
@Order(10)
public class User3 {
    @Bean
    public User user1() {
        User user = new User();
        user.setAge(5);
        user.setName("张");
        user.setId(1);
        System.out.println(1);
        return user;
    }
}
